pro_base="$(cd `dirname $(readlink -f $0)`;pwd)"        # program base directory. readlink是为了获取脚本的真实路径
#sed -i -e 's/mail_psw="password"/mail_psw="mxsewgpzujxedbaj"/' "${pro_base}/smon/general.conf.sample"
#sed -i -e 's/mail_psw="password"/mail_psw="mxsewgpzujxedbaj"/' "${pro_base}/cron_rsync_backup/cron_rsync_backup.conf.sample"
sed -i -e 's/password=password/password=wefsxmfiysczbjje/' "${pro_base}/reboot_mail.sh"
